package com.dice.dagger2study;


import android.os.Bundle;

import com.dice.dagger2study.present.UserPresent;
import com.dice.dagger2study.ui.BaseActivity;
import com.dice.dagger2study.view.ILoginView;

public class MainActivity extends BaseActivity<ILoginView,UserPresent<ILoginView>> implements  ILoginView{

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    @Override
    protected UserPresent<ILoginView> createPresent() {
        return new UserPresent<>(this);
    }

    @Override
    public String getUserName() {
        return null;
    }

    @Override
    public String getPassword() {
        return null;
    }

    @Override
    public void showLoading() {

    }

    @Override
    public void hideLoading() {

    }

    @Override
    public void clearUserName() {

    }

    @Override
    public void clearPassword() {

    }
}
